WPDiscourse\Utilities\Utilities S

Total Complexity 46
Dependencies 5
Dependents 1
Total lines 407
Lines of code 198
Logical lines of code 115
Comment lines 136
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
create_discourse_user()
A
45 9 40
discourse_munge()
A
50 9 31
get_discourse_groups()
A
49 9 30
remove_user_from_discourse_group()
S
59 2 14
add_user_to_discourse_group()
S
59 2 14
extract_groups()
S
63 2 12
publish_to_discourse()
S
61 2 11
get_discourse_comments()
S
69 1 6
get_options()
S
76 1 4
validate()
S
75 1 4
get_discourse_webhook_data()
S
74 1 4
get_sso_params()
S
75 1 4
discourse_request()
S
75 1 4
get_discourse_user_by_email()
S
75 1 4
get_discourse_user()
S
75 1 4
sync_sso_record()
S
75 1 4
get_discourse_categories()
S
76 1 4
verify_discourse_webhook_request()
S
75 1 4